﻿using SqlSugar;

namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 筛查记录治疗方案
    /// </summary>
    [SugarTable("sift_com_data", TableDescription = "筛查记录治疗方案")]
    public class SiftComData
    {
        [SugarColumn(ColumnName="ID",IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        /// <summary>
        /// 病人id
        /// </summary>
        [SugarColumn(ColumnName = "PatientId", IsIdentity = true, IsPrimaryKey = true)]
        public string? PatientId { get; set; }

        /// <summary>
        /// 筛查次数
        /// </summary>
        //[SugarColumn(ColumnName = "SiftNo", IsIdentity = true, IsPrimaryKey = true)]
        //public int SiftNo { get; set; }

        /// <summary>
        /// 方案编号
        /// </summary>
        [SugarColumn(ColumnName = "SchemeNo")]
        public int? SchemeNo { get; set; }

        /// <summary>
        /// 方案名称
        /// </summary>
        [SugarColumn(ColumnName = "SchemeName")]
        public string? SchemeName { get; set; }

        /// <summary>
        /// 每日次数
        /// </summary>
        [SugarColumn(ColumnName = "SchemeTimes")]
        public int? SchemeTimes { get; set; }

        /// <summary>
        /// 每次数量
        /// </summary>
        [SugarColumn(ColumnName = "SchemeNum")]
        public string? SchemeNum { get; set; }

        /// <summary>
        /// 筛查病因
        /// </summary>
        [SugarColumn(ColumnName = "Etiology")]
        public string? Etiology { get; set; }
        /// <summary>
        /// 筛查单号
        /// </summary>
        [SugarColumn(ColumnName = "ScreeningCode")]
        public string? ScreeningCode { get; set; }
    }
}
